<?php
/**
 * Description of Role
 *
 * @author Gowork
 */
class Application_Model_Role extends App_Model_Abstract {
        
    const R_admin = 1;
    const R_coordinator = 2;
    const R_consultant = 3;
    
    /**
     * Tablica nazw uprawnień
     * @var array 
     */
    public static $R_names = array(
        self::R_admin => 'Administrator',
        self::R_coordinator => 'Koordynator',
        self::R_consultant => 'Konsultant'
    );
    
    protected $_id_acl_role = null;
    protected $_code = null;
    protected $_name = null;
    
    public function getId_acl_role() {
        return $this->_id_acl_role;
    }

    public function setId_acl_role($id_acl_role) {
        $this->_id_acl_role = $id_acl_role;
    }

    public function getCode() {
        return $this->_code;
    }

    public function setCode($code) {
        $this->_code = $code;
    }

    public function getName() {
        return $this->_name;
    }

    public function setName($name) {
        $this->_name = $name;
    }


    
}

?>
